<template>
  <div class="cooperation-page section-padding">
    <div class="container mx-auto px-4">
      <h2 class="text-2xl md:text-3xl font-bold text-center mb-10 text-primary">合作交流</h2>
      <div class="bg-white rounded-lg shadow p-6 md:p-8 mb-8">
        <h3 class="text-xl font-bold mb-4 text-gray-800">合作单位</h3>
        <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
          <div class="border border-gray-200 rounded-lg p-4 flex flex-col items-center justify-center text-center hover:border-primary transition-colors">
            <div class="w-20 h-20 bg-neutral rounded-full flex items-center justify-center mb-3">
              <i class="fa fa-building text-primary text-2xl"></i>
            </div>
            <p class="font-medium">中国铁塔股份有限公司</p>
          </div>
          <div class="border border-gray-200 rounded-lg p-4 flex flex-col items-center justify-center text-center hover:border-primary transition-colors">
            <div class="w-20 h-20 bg-neutral rounded-full flex items-center justify-center mb-3">
              <i class="fa fa-building text-primary text-2xl"></i>
            </div>
            <p class="font-medium">陕西省公安厅</p>
          </div>
          <div class="border border-gray-200 rounded-lg p-4 flex flex-col items-center justify-center text-center hover:border-primary transition-colors">
            <div class="w-20 h-20 bg-neutral rounded-full flex items-center justify-center mb-3">
              <i class="fa fa-building text-primary text-2xl"></i>
            </div>
            <p class="font-medium">华为技术有限公司</p>
          </div>
          <div class="border border-gray-200 rounded-lg p-4 flex flex-col items-center justify-center text-center hover:border-primary transition-colors">
            <div class="w-20 h-20 bg-neutral rounded-full flex items-center justify-center mb-3">
              <i class="fa fa-building text-primary text-2xl"></i>
            </div>
            <p class="font-medium">大疆创新科技有限公司</p>
          </div>
        </div>
      </div>

      <div class="bg-white rounded-lg shadow p-6 md:p-8">
        <h3 class="text-xl font-bold mb-4 text-gray-800">合作咨询</h3>
        <form class="max-w-2xl mx-auto">
          <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
            <div>
              <label class="block text-sm font-medium text-gray-700 mb-1">单位名称</label>
              <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary">
            </div>
            <div>
              <label class="block text-sm font-medium text-gray-700 mb-1">联系人</label>
              <input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary">
            </div>
          </div>
          <div class="mb-4">
            <label class="block text-sm font-medium text-gray-700 mb-1">联系电话</label>
            <input type="tel" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary">
          </div>
          <div class="mb-4">
            <label class="block text-sm font-medium text-gray-700 mb-1">合作意向</label>
            <textarea rows="4" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary"></textarea>
          </div>
          <button type="button" class="bg-primary text-white px-6 py-2 rounded-md hover:bg-blue-800 transition-colors">
            提交申请
          </button>
        </form>
      </div>
    </div>
  </div>
</template>

<!-- 补全Script标签：多单词组件名 -->
<script>
export default {
  name: 'GuestCooperation' // 必须多单词，解决ESLint "Cooperation should be multi-word" 报错
}
</script>

<style scoped>
.section-padding {
  @apply py-12 md:py-16;
}
</style>